const baseUrl = 'http://116.62.156.195'
// const loBaseUrl = 'http://192.168.230.119'

const api = {
  login: baseUrl + ':8083/report/system/login',
  company_appKey_options: baseUrl + ':8083/report/system/findRole',
  // login: loBaseUrl + ':8080/report/system/login', // 本地
  // company_appKey_options: loBaseUrl + ':8080/report/system/findRole', // 本地
  deviceCompany: { // 企业日常维护api
    result: baseUrl + ':8083/report/qf/findCDC'
    // result: loBaseUrl + ':8080/report/qf/findCDC' // 本地
  },
  deviceLine: { // 线路设备明细api
    result: baseUrl + ':8083/report/qf/findlDC'
    // result: loBaseUrl + ':8080/report/qf/findlDC' // 本地
  },
  reportLine: { // 线路台账api
    result: baseUrl + ':8083/report/qf/reportLine',
    excelHref: baseUrl + ':8083/report/qfExcel/reportLine'
    // result: loBaseUrl + ':8080/report/qf/reportLine', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/reportLine' // 本地
  },
  reportDriver: { // 司机台账api
    result: baseUrl + ':8083/report/qf/reportDriver',
    excelHref: baseUrl + ':8083/report/qf/reportDriver'
    // result: loBaseUrl + ':8080/report/qf/reportDriver', // 本地
    // excelHref: loBaseUrl + ':8080/report/qf/reportDriver'// 本地
  },
  reportCarry: { // 单车/闸机台账api
    result: baseUrl + ':8083/report/qf/reportCarry',
    excelHref: baseUrl + ':8083/report/qfExcel/reportCarry'
    // result: loBaseUrl + ':8080/report/qf/reportCarry', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/reportCarry' // 本地
  },
  reportCompany: { // 运营公司台账api
    result: baseUrl + ':8083/report/qf/reportCompany',
    excelHref: baseUrl + ':8083/report/qfExcel/reportCompany'
    // result: loBaseUrl + ':8080/report/qf/reportCompany', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/reportCompany' // 本地
  },
  hdReportDriver: { // 黄岛定制化需求 司机台账
    result: baseUrl + ':8083/report/qf/findHdReportDriver',
    excelHref: baseUrl + ':8083/report/qfExcel/exportHdReportDriver'
    // result: loBaseUrl + ':8080/report/qf/findHdReportDriver', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/exportHdReportDriver' // 本地
  },
  alipayTradeDealLogCarry: { // 单车明细台账api
    result: baseUrl + ':8083/report/qf/payTradeDealLog',
    excelHref: baseUrl + ':8083/report/qfExcel/carryTrade'
    // result: loBaseUrl + ':8080/report/qf/payTradeDealLog', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/carryTrade' // 本地
  },
  reportStation: { // 站点台账api
    result: baseUrl + ':8083/report/qf/reportStation',
    excelHref: baseUrl + ':8083/report/qfExcel/reportStation'
    // result: loBaseUrl + ':8080/report/qf/reportStation', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/reportStation' // 本地
  },
  njreportCarry: { // 南京定制化闸机台账
    result: baseUrl + ':8083/report/qf/reportCarry',
    excelHref: baseUrl + ':8083/report/qfExcel/reportZJ'
    // result: loBaseUrl + ':8080/report/qf/reportCarry', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/reportZJ' // 本地
  },
  alipayTradeDealLogUser: { // 用户刷卡明细api
    result: baseUrl + ':8083/report/qf/payTradeDealLog',
    excelHref: baseUrl + ':8083/report/qfExcel/userTreade',
    txtHref: baseUrl + ':8083/report/qfExcel/exportTradeTxt'
    // result: loBaseUrl + ':8080/report/qf/payTradeDealLog', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/userTreade', // 本地
    // txtHref: loBaseUrl + ':8080/report/qfExcel/exportTradeTxt' // 本地
  },
  userDetails: { // 用户刷卡汇总
    result: baseUrl + ':8083/report/qf/findSunUser'
    // result: loBaseUrl + ':8080/report/qf/findSunUser' // 本地
  },
  sftp: { // zip包列表
    result: baseUrl + ':8083/report/qf/findAlipaySftp'
    // result: loBaseUrl + ':8080/report/qf/findAlipaySftp' // 本地
  },
  alipayTradeDealLog: { // 交易流水清单api
    result: baseUrl + ':8083/report/qf/findALipayTradeDetail'
    // result: loBaseUrl + ':8080/report/qf/findALipayTradeDetail' // 本地
  },
  alipaytradedetail: { // 扣款处理清单
    result: baseUrl + ':8083/report/qf/findALipayTradeDetail'
    // result: loBaseUrl + ':8080/report/qf/findALipayTradeDetail' // 本地
  },
  alipaytrademain: { // 扣款处理汇总
    result: baseUrl + ':8083/report/qf/findALipayTradeMain'
    // result: loBaseUrl + ':8080/report/qf/findALipayTradeMain' // 本地
  },
  payTradeDealLog: { // 换乘优惠明细api
    result: baseUrl + ':8083/report/qf/payTradeDealLog',
    excelHref: baseUrl + ':8083/report/qfExcel/hcyhmx'
    // result: loBaseUrl + ':8080/report/qf/payTradeDealLog', // 本地
    // excelHref: loBaseUrl + ':8080/report/qfExcel/hcyhmx' // 本地
  },
  payTradeDealTotal: { // 换乘优惠统计api
    result: baseUrl + ':8083/report/qf/getCount'
    // result: loBaseUrl + ':8080/report/qf/getCount' // 本地
  },
  role: { // 角色管理api
    result: baseUrl + ':8083/report/system/find',
    update: baseUrl + ':8083/report/system/modify',
    add: baseUrl + ':8083/report/system/add',
    delete: baseUrl + ':8083/report/system/deleteRole',
    getRole: baseUrl + ':8083/report/system/findRoleModule',
    updateRole: baseUrl + ':8083/report/system/updateRole'
    // result: loBaseUrl + ':8080/report/system/find', // 本地
    // update: loBaseUrl + ':8080/report/system/modify', // 本地
    // add: loBaseUrl + ':8080/report/system/add', // 本地
    // delete: loBaseUrl + ':8080/report/system/deleteRole', // 本地
    // getRole: loBaseUrl + ':8080/report/system/findRoleModule', // 本地
    // updateRole: loBaseUrl + ':8080/report/system/updateRole' // 本地
  },
  user: { // 账号管理api
    result: baseUrl + ':8083/report/system/findAccountFy',
    add: baseUrl + ':8083/report/system/addAccount',
    update: baseUrl + ':8083/report/system/updateAccount',
    delete: baseUrl + ':8083/report/system/deleteAccount'
    // result: loBaseUrl + ':8080/report/system/findAccountFy', // 本地
    // add: loBaseUrl + ':8080/report/system/addAccount', // 本地
    // update: loBaseUrl + ':8080/report/system/updateAccount', // 本地
    // delete: loBaseUrl + ':8080/report/system/deleteAccount' // 本地
  },
  card: { // 开卡/销卡api
    result: 'http://116.62.161.10:8080/portal/card/list',
    enabled: 'https://zf.wuhanbus.com:8443/api/virtual/card/alipay/status?action=ISSUE',
    revoked: 'https://zf.wuhanbus.com:8443/api/virtual/card/local/revoked?action=revoke&disabledTips=系统统一退卡'
  },
  userInfo: { // 用户信息查询api
    result: 'http://116.62.161.10:8080/portal/user/list'
  },
  amountNow: { // 黄岛定制化需求 台账试试查询
    result: baseUrl + ':8083/report/hdStatement/hdStatementData',
    excelHref: baseUrl + ':8083/report/hdStatement/reportHDStatementData'
    // result: ':8080/hdStatement/hdStatementData',
    // excelHref: ':8080/hdStatement/reportHDStatementData'
  },
  reportDepartment: { // 部门台账
    result: baseUrl + ':8083/report/qf/findReportDepartment',
    excelHref: baseUrl + ':8083/report/qfExcel/excelReportDepartment'
    // result: ':8080/report/qf/findReportDepartment',
    // excelHref: ':8080/report/qfExcel/excelReportDepartment'
  },
  carryTime: { // 闸机实时台账
    result: baseUrl + ':8083/report/njData/dataCarryCode',
    excelHref: baseUrl + ':8083/report/njData/reportDataCarryCode'
  },
  stationTime: { // 站点实时台账
    result: baseUrl + ':8083/report/njData/dataCarryName',
    excelHref: baseUrl + ':8083/report/njData/reportDataCarryName'
  },
  carryReportNow: { // 单车台账实时统计
    result: baseUrl + ':8083/report/taiAnData/dataCarryNo',
    excelHref: baseUrl + ':8083/report/taiAnData/reportDataCarryNo'
  }
}

export default api
